﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200092B RID: 2347
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HLIOONJHGNL : IMessage<HLIOONJHGNL>, IMessage, IEquatable<HLIOONJHGNL>, IDeepCloneable<HLIOONJHGNL>, IBufferMessage
	{
		// Token: 0x17001DC2 RID: 7618
		// (get) Token: 0x06006958 RID: 26968 RVA: 0x0011B338 File Offset: 0x00119538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HLIOONJHGNL> Parser
		{
			get
			{
				return HLIOONJHGNL._parser;
			}
		}

		// Token: 0x17001DC3 RID: 7619
		// (get) Token: 0x06006959 RID: 26969 RVA: 0x0011B33F File Offset: 0x0011953F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HLIOONJHGNLReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001DC4 RID: 7620
		// (get) Token: 0x0600695A RID: 26970 RVA: 0x0011B351 File Offset: 0x00119551
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HLIOONJHGNL.Descriptor;
			}
		}

		// Token: 0x0600695B RID: 26971 RVA: 0x0011B358 File Offset: 0x00119558
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HLIOONJHGNL()
		{
		}

		// Token: 0x0600695C RID: 26972 RVA: 0x0011B360 File Offset: 0x00119560
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HLIOONJHGNL(HLIOONJHGNL other) : this()
		{
			this.id_ = other.id_;
			this.bECPGBHCABL_ = other.bECPGBHCABL_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600695D RID: 26973 RVA: 0x0011B391 File Offset: 0x00119591
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HLIOONJHGNL Clone()
		{
			return new HLIOONJHGNL(this);
		}

		// Token: 0x17001DC5 RID: 7621
		// (get) Token: 0x0600695E RID: 26974 RVA: 0x0011B399 File Offset: 0x00119599
		// (set) Token: 0x0600695F RID: 26975 RVA: 0x0011B3A1 File Offset: 0x001195A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x17001DC6 RID: 7622
		// (get) Token: 0x06006960 RID: 26976 RVA: 0x0011B3AA File Offset: 0x001195AA
		// (set) Token: 0x06006961 RID: 26977 RVA: 0x0011B3B2 File Offset: 0x001195B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BECPGBHCABL
		{
			get
			{
				return this.bECPGBHCABL_;
			}
			set
			{
				this.bECPGBHCABL_ = value;
			}
		}

		// Token: 0x06006962 RID: 26978 RVA: 0x0011B3BB File Offset: 0x001195BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HLIOONJHGNL);
		}

		// Token: 0x06006963 RID: 26979 RVA: 0x0011B3C9 File Offset: 0x001195C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HLIOONJHGNL other)
		{
			return other != null && (other == this || (this.Id == other.Id && this.BECPGBHCABL == other.BECPGBHCABL && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006964 RID: 26980 RVA: 0x0011B408 File Offset: 0x00119608
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this.BECPGBHCABL != 0U)
			{
				num ^= this.BECPGBHCABL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006965 RID: 26981 RVA: 0x0011B460 File Offset: 0x00119660
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006966 RID: 26982 RVA: 0x0011B468 File Offset: 0x00119668
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006967 RID: 26983 RVA: 0x0011B474 File Offset: 0x00119674
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Id != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Id);
			}
			if (this.BECPGBHCABL != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.BECPGBHCABL);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006968 RID: 26984 RVA: 0x0011B4D0 File Offset: 0x001196D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this.BECPGBHCABL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BECPGBHCABL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006969 RID: 26985 RVA: 0x0011B528 File Offset: 0x00119728
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HLIOONJHGNL other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			if (other.BECPGBHCABL != 0U)
			{
				this.BECPGBHCABL = other.BECPGBHCABL;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600696A RID: 26986 RVA: 0x0011B578 File Offset: 0x00119778
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600696B RID: 26987 RVA: 0x0011B584 File Offset: 0x00119784
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.BECPGBHCABL = input.ReadUInt32();
					}
				}
				else
				{
					this.Id = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002839 RID: 10297
		private static readonly MessageParser<HLIOONJHGNL> _parser = new MessageParser<HLIOONJHGNL>(() => new HLIOONJHGNL());

		// Token: 0x0400283A RID: 10298
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400283B RID: 10299
		public const int IdFieldNumber = 8;

		// Token: 0x0400283C RID: 10300
		private uint id_;

		// Token: 0x0400283D RID: 10301
		public const int BECPGBHCABLFieldNumber = 10;

		// Token: 0x0400283E RID: 10302
		private uint bECPGBHCABL_;
	}
}
